package com.itheima.huikebackend.mapper;

import com.itheima.huikebackend.entity.SysMenu;
import com.itheima.huikebackend.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author iTaotao
 * @version 1.0
 * @date 2023/08/07 23:18:27
 */
@Mapper
public interface SysMenuMapper {
    List<SysMenu> selectMenuByRoleId(List<SysRole> sysRoleList);

    List<SysMenu> selectAll();

    List<SysMenu> selectAllByUserId(String currentId);
}
